package com.zaofan.bean;

import com.zaofan.annotation.AutoIncrement;

import java.math.BigDecimal;
import java.sql.Timestamp;

/**
 * Created by Administrator on 2016/11/3.
 */
public class CouponUser {

    private long id ;
    private long userId;
    private int couponId;
    private int status;
    private Timestamp createTime;
    private Timestamp updateTime;
    private int isTimeout;
    private BigDecimal value;
    private BigDecimal conditions;
    private String name;
    private String rule;
    private String bettwenTime;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getCouponId() {
        return couponId;
    }

    public void setCouponId(int couponId) {
        this.couponId = couponId;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public Timestamp getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Timestamp updateTime) {
        this.updateTime = updateTime;
    }

    public int getIsTimeout() {
        return isTimeout;
    }

    public void setIsTimeout(int isTimeout) {
        this.isTimeout = isTimeout;
    }

    public BigDecimal getValue() {
        return value;
    }

    public void setValue(BigDecimal value) {
        this.value = value;
    }

    public BigDecimal getConditions() {
        return conditions;
    }

    public void setConditions(BigDecimal conditions) {
        this.conditions = conditions;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRule() {
        return rule;
    }

    public void setRule(String rule) {
        this.rule = rule;
    }

    public String getBettwenTime() {
        return bettwenTime;
    }

    public void setBettwenTime(String bettwenTime) {
        this.bettwenTime = bettwenTime;
    }
}
